Linux Ubuntu21.10 root登陆系统没有声音 您所在的位置:网站首页 linux 无声音 Linux Ubuntu21.10 root登陆系统没有声音

Linux Ubuntu21.10 root登陆系统没有声音

2023-09-28 20:35| 来源: 网络整理| 查看: 265

Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令_DS小龙哥的专栏-CSDN博客一、环境介绍操作系统: 虚拟机运行的Ubuntu18.04 64位二、解决的问题情况说明: 当前ubuntu18.04上有多个声卡设备,两个麦克风(1个USB声卡带的麦克风、1个内置麦克风)、2个扬声器设备(内置外放扬声器、USB接口扬声器)。目的: 想要设置系统默认使用USB接口扬声器放音。三、安装pavucontrol命令一般情况下,系统都自带该命令,无需再下载,...https://blog.csdn.net/xiaolong1126626497/article/details/105828447/

输入该命令就有声音了 pulseaudio --start --log-target=syslog

 既然如此那就把这句话写入到.profile中,每次系统自动加载

root@orz:~# cat .profile # ~/.profile: executed by Bourne-compatible login shells. pulseaudio --start --log-target=syslog if [ "$BASH" ]; then if [ -f ~/.bashrc ]; then . ~/.bashrc fi fi tty -s && mesg n || ture mesg n 2> /dev/null || true

解决Ubuntu下切换到root用户后没有声音问题_学习是为了探索这个世界的本质-CSDN博客Ubuntu在root用户下,为了安全考虑默认是关闭了声音系统的。如果要开很简单,因为root登录后pulseaudio没有启动。所以要先启动它将root加到pulse和pulse-access组:sudo usermod -a -G pulse-access rootgpasswd -a root pulsegpasswd -a root pulse-accesshttps://blog.csdn.net/SUKHOI27SMK/article/details/19004785

ubuntu 以root登录 无声音_王建国的专栏-CSDN博客输入指令pulseaudio --start --log-target=syslog sudo sh -c echo “pulseaudio –start –log-target=syslog” >> /etc/environment usermod -a -G pulse rootusermod -a -G pulse-access rootgpasswd -a roothttps://blog.csdn.net/wjgwrr/article/details/51743074



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有